/**
 * @file main.cpp
 * @author Derek Liu (yjkhtddx@sina.com)
 * @brief 程序入口
 * @version 0.0.1
 * @date 2020-07-16
 * 
 * @coryright Copyright Sci-Tech Laboratories (c) 2020
 * 
 */

#include <stdio.h>
#include <unistd.h>
#include "STL_Log.hpp"
#include "GBMgr.hpp"
#include "STL_ThreadPool.hpp"
#include "SDPHandler.hpp"

void show_usage(char *argv)
{
    stl::info("Usage:\n");
}

int main(int argc, char *argv[])
{

    stl::setLogLevel(stl::LogLevel::kLogLevel_Debug);
    stl::ThreadPool::instance()->start(4);
    GBMgr::instance()->init();  
    GBMgr::instance()->start();    
    
    while (1)
    {
        sleep(2);
    }
    
    stl::info("Hello World!");
    return 0;
}